/*
 * Types.h
 *
 *  Created on: Feb 6, 2010
 *      Author: Jamie LaPointe
 */

#ifndef TYPES_H_
#define TYPES_H_

#include <limits.h>

typedef bool Bool8;

//
// NOTE: char may be signed or unsigned depending on whether #ifdef __CHAR_UNSIGNED__
//       is defined or not (defined == UNSIGNED; not = SIGNED).
//
typedef char            Char8;

//
// Defined 16, 32, and 64 bit signed Integers; if your architecture is different, then
// modify as appropriate...
//
typedef short           Int16;
typedef int             Int32;
typedef long long int   Int64;

//
// Defined 16, 32, and 64 bit unsigned integers; if your architecture is different, then
// modify as appropriate...
//
typedef unsigned short          UInt16;
typedef unsigned int            UInt32;
typedef unsigned long long int  UInt64;

//
// Defined 32 and 64 bit floating point values; if your architecture is different, then
// modify as appropriate...
//
typedef float  Float32;
typedef double Float64;

#endif /* TYPES_H_ */
